package com.kushuigu.dao;

import org.springframework.stereotype.Repository;

@Repository
public class BookDaoImpl implements BookDao {
    @Override
    public void save() {
        System.out.println(System.currentTimeMillis());
        System.out.println("save.");
    }

    @Override
    public void update() {
        System.out.println("update");
        throw new RuntimeException();
    }

    @Override
    public int select() {
        System.out.println("select ");
        return 100;
    }
}
